package com.zhiyou100.crm.service;

import com.zhiyou100.crm.util.Notice;
import com.zhiyou100.crm.util.User;

import java.util.List;

public interface NoticeService {
    public abstract List<Notice> queryAllNotice();
    public abstract Boolean removeById(int noticeId);
    public abstract Notice queryNoticeById(int notice_id);
    public abstract List<Notice> queryNoticeByFile(String field);
    public abstract int addNotice(Notice notice, User user);
    public abstract int upadteNotice(Notice notice,int id);
}
